﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using QingzimaScenario;
using QingzimaLogicModel;

namespace QingzimaWebClient.Controllers
{
    public class QiantaiXinwenController : Controller
    {
        //
        // GET: /QiantaiXinwen/

        public ActionResult Index()
        {
            ViewBag.XinwenList = XinwenScenario.HuoquModels();
            return View();
        }

        public ActionResult Xinwen(int id)
        {
            XinwenLM XinwenLM = XinwenScenario.HuoquByID(id);
            ViewBag.Xinwen = XinwenLM;
            return View();
        }
    }
}
